import Cookies from 'js-cookie'
import storeLocal from "storejs";

const TokenKey = 'Admin-Token'

export function getToken() {
  // return storeLocal.get('X-Token')
  return Cookies.get(TokenKey)
}

export function setToken(token) {

  return Cookies.set(TokenKey, token)
}

export function removeToken() {

  return Cookies.remove(TokenKey)
}
